Does your product have a pagesize predefined for a half-letter page?
Which is the best font for print the resulting PDF into a matrix printer?
Does it exist a way in which you can print the resulting PDF directly to the printer without the preview? Talking about Web solutions, in which the printer is in a WAN not in a LAN
Thanks in advance.
PrintWeb-Non Laser printer-HalfLetter PageSize
Re: PrintWeb-Non Laser printer-HalfLetter PageSize
Support · Dec 5, 2005Hello,
Yes, you can define the page to be of any desired size when creating the Page object. Here is the code snippet that will create a half-letter page:
C# Code:
ceTe.DynamicPDF.Page page = new ceTe.DynamicPDF.Page( 612, 396 );
The Courier font works well with Dot Matrix printer but you can use any fonts that your printer supports.
Do you want to print the PDF directly to a WAN printer without opening the PDF?
Thanks,
ceTe Software Support Team
Re: PrintWeb-Non Laser printer-HalfLetter PageSize
Forum member · Dec 6, 2005Thanks for reply.
What I need to know is if We can print the generated PDF file directly to the printer. I'm not in a LAN, I'm in a WAN,ie I'm a internet user.
I read above you give a solution via ghostcript or something like this.
Re: PrintWeb-Non Laser printer-HalfLetter PageSize
Support · Dec 7, 2005Hello,
The current version of our product will not allow you to print directly to the printer. We will be adding the functionality to add javascript to the document in v4.0 of our product which will be available for beta testing within a month's time. In v4.0 you will be able to print the document directly to the printer when the PDF is opened.
Yes, using GhostScript
you can directly generate your output to the printer. We have had several customers in the past that have used GhostScript for their printing needs.
Thanks,
ceTe Software Support Team
Re: PrintWeb-Non Laser printer-HalfLetter PageSize
Forum member · Dec 22, 2005Hi again. I'm trying to print a half-letter portrait in a dotmatrix printer with the next code:
Private pagesize As PageDimensions = New PageDimensions(396, 612)
Dim objDay As Label = New Label(strDay, 155, 0, 30, 10, Font.Courier, 10)
Dim objMonth As Label = New Label(strMonth, 185, 0, 30, 10, Font.Courier, 10)
Dim objYear As Label = New Label(strYear, 225, 0, 30, 10, Font.Courier, 10)
objCurrentPage.Elements.Add(objDay)
objCurrentPage.Elements.Add(objMonth)
objCurrentPage.Elements.Add(objYear)
I'm having the next issues:
- Always exist several rows at the begining of the print document that I never write, I put y coordinate at (0,5,10,20), and always the same result. How can I avoid this spaces
- The result font is too diferent if I compare when sending the same "info" from notepad, both having a Courier 10.
Can you help me please
Re: PrintWeb-Non Laser printer-HalfLetter PageSize
Support · Dec 23, 2005Hello,
The reason you are seeing extra rows at the beginning of the Page is likely because of the Page Margins. You can reset the Page Margins to zero and that will remove the extra rows at the top of the page. Here is the line of code that will reset the Top Margin to zero:
page.Dimensions.TopMargin = 0.0
The PDF generated using our product is output correctly and prints 12 characters per inch but it looks like notepad is putting slightly more than 12 characters per inch.
Thanks,
ceTe Software Support Team
Re: PrintWeb-Non Laser printer-HalfLetter PageSize
Forum member · Dec 23, 2005Thanks for replying.
I made your sugestion and all works great.
Just one more question. I have my page defined ok(A5), I put all my info on it. But each time I call the PDF Print Preview window it always show my file as if it was a Letter page size, It says my file is a A5 page size, but the preview doesnt respect that, so when I print it I receive a Letter instead an A5.
For solution this issue, each time I need to enter to print properties and manually change to A5 pagesize, and the print goes ok. Even when my page is an A5 :(
How can I say to PDF Print Preview that respects my page size?
Thanks
Re: PrintWeb-Non Laser printer-HalfLetter PageSize
Support · Dec 27, 2005Hello Thanks,
You will have to change your default printer settings in order to set the default to A5 paper size. This setting can be changed from Printers & Faxes in Control Panel. Other option is to check the "Choose Paper Source by PDF page size" check box in Print properties dialog box.
Thanks,
ceTe Software Support Team