Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Custom page size |
Post Reply |
Author | |
Hopeful
Beginner Joined: 19 Jul 06 Location: United Kingdom Status: Offline Points: 18 |
Post Options
Thanks(0)
Posted: 19 Jul 06 at 4:58AM |
I want to use QuickPDF to generate a receipt on a POS printer which uses continuous paper. I could still treat this as a page (rather than continuous), it would just be a really long page, e.g. 16". Any suggestions?
|
|
ukobsa
Senior Member Joined: 29 May 06 Location: Germany Status: Offline Points: 115 |
Post Options
Thanks(0)
|
Hm, do you think that this is a good idea? Is there a reason that you cannot use POS printers language to print the receipt?
greetings, Ulrich |
|
Hopeful
Beginner Joined: 19 Jul 06 Location: United Kingdom Status: Offline Points: 18 |
Post Options
Thanks(0)
|
I think it's an excellent idea I would rather not be tied to a particular manufacturer or model of receipt printer and also be forced to use fixed-pitch fonts to allow me to justify columns in the receipt.
|
|
chicks
Debenu Quick PDF Library Expert Joined: 29 Oct 05 Location: United States Status: Offline Points: 251 |
Post Options
Thanks(0)
|
I work with Ithaca, Epson, Star and Citizen receipt printers, and wouldn't even think of using PDF with them.
I developed a custom print engine in Java and a markup language which can interface generically with all of them, but there are a couple of standards (OPOS, JavaPOS) that can also be used. |
|
Hopeful
Beginner Joined: 19 Jul 06 Location: United Kingdom Status: Offline Points: 18 |
Post Options
Thanks(0)
|
Do tell, why wouldn't you even think of using PDF? The printer I'm considering scales down A4 web pages to print out. What's the big problem with printing a PDF file to it? |
|
chicks
Debenu Quick PDF Library Expert Joined: 29 Oct 05 Location: United States Status: Offline Points: 251 |
Post Options
Thanks(0)
|
Should have qualified a bit - I'm still working with a number of impact and inkjet POS printers, which would be agonizingly slow printing PDF through a printer driver, since everything would have to be printed as an image. They are more than adequately fast in their native language, however.
If you're using one of the high-end thermal recepit printers specifically meant for page printing, like the Star TSP-700, PDF will print just fine. |
|
Hopeful
Beginner Joined: 19 Jul 06 Location: United Kingdom Status: Offline Points: 18 |
Post Options
Thanks(0)
|
That's good. Any ideas regarding the custom page length though?
Edited by Hopeful |
|
chicks
Debenu Quick PDF Library Expert Joined: 29 Oct 05 Location: United States Status: Offline Points: 251 |
Post Options
Thanks(0)
|
SetPageDimensions
Description Set the size of the selected page. By default, the parameters should specify the width and height of the page in points. Use the SetMeasurementUnits function to change the units to millimetres or inches. Definition function SetPageDimensions(NewPageWidth As Double, NewPageHeight As Double) As Long Parameters NewPageWidth The new width of the page. NewPageHeight The new height of the page. Returns 0 The page size could not be set. This should never occur. 1 The page was resized successfully. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store