|
Post by Jos on Feb 6, 2019 19:07:40 GMT 1
Have a look at the HORZ: and VERT: options to position and scale the printout.
Jos
|
|
|
Post by ahmednh on Feb 6, 2019 19:57:50 GMT 1
is this correct
HORZ: left[,10,80] left: 05 right: 05 chars: 80 * Default: 15,10,80.
VERT: top[,bottom,lines] top: 05 bottom: 05 lines: 10 * Default: 10,15,lines calculated based on the paper size.
LPT1 = spool font:"Courier New" horz:20,10,132
|
|
|
Post by Jos on Feb 6, 2019 20:19:14 GMT 1
If you want to print (in your program) to LPT1 and a printer selection dialog displayed, you have to add this line to config.txt:
LPT1 = horz:5,5,80 vert:5,5,10
Though 5 millimeter (some 0.2 inch) margins all around and 10 lines per page make little sense.
Jos
|
|
|
Post by ahmednh on Feb 6, 2019 22:21:02 GMT 1
I mange to get correct size now
LPT1 = horz:5,5,80 vert:5,5,65
how to chose adobe PDF printer and change the fonts
|
|
|
Post by Jos on Feb 6, 2019 22:53:45 GMT 1
Those would be the SEL: and FONT: options.
Jos
|
|
|
Post by ahmednh on Feb 6, 2019 23:17:39 GMT 1
should be like this SEL = "ADOBE PDF" FONT = "COURIER NEW"
When run the program error message appears
SEL = "ADOBE PDF" = Assignment missing
FONT: "COURIER NEW" = Assignment missing
|
|
|
Post by Jos on Feb 7, 2019 9:36:33 GMT 1
It's SEL: and FONT:, and options to LPT1 =, see Printing.pdf.
Jos
|
|
|
Post by ahmednh on Feb 7, 2019 17:36:57 GMT 1
Yes I have done and corrected the commands thanks
only I have a problem with printing on virtual pdf printer
It is working when print job assigned to easy pdf creator virtual printer, but not the case if I assign to Adobe Pdf virtual printer, and noticed it generate a text file in Vdos folder
|
|
|
Post by Jos on Feb 7, 2019 17:43:28 GMT 1
I have no experience with Adobe PDF printer, so no idea why that won’t generate a PDF.
Jos
|
|
|
Post by ahmednh on Feb 7, 2019 17:50:38 GMT 1
I can use the other alternative not a big issue
Thanks
|
|