Re: Define.Paper.Source


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant E Foraker on April 10, 2019 at 08:27:51:

In Reply to: Define.Paper.Source posted by Grant E Foraker on April 10, 2019 at 06:49:45:

Did some swapping around in my WDL program and found a combination that worked.
================================================================================
In this order the CPI=10 didn't happen

LET ZLP$ = 'LPP' ! TIME CARD PRINTER

GOSUB OpenThePrinter
PRINT (1) (SetPaperSize = 5)
PRINT (1) (TR);(SelectSysFont=10) ! 10 CPI
PRINT (1) (TR);(SetOrientation = DMOrient.Landscape)

================================================================================
This order works.

LET ZLP$ = 'LPP' ! TIME CARD PRINTER

GOSUB OpenThePrinter
PRINT (1) (TR);(SetPaperSize = 5)
PRINT (1) (TR);(SetOrientation = DMOrient.Landscape)
PRINT (1) (TR);(SelectSysFont=10) ! 10 CPI
===============================================================================

Basically, I'm moving the customer's Time Card print program from a Printronix dot matrix and continuous forms to their new Toshiba fast MFC printers with a laser version of their form. To keep things generic and to avoid configuring the Toshiba's as Comet printers, I want to print to PDF. The operator can then print from the PDF to to her primary printer. The other printers would be backups. The Printronix (LP1) has no backup and can be retired as this is the last production job printed there.

1) I'm using a FORMAT for printing instead of X,Y positioning. The print format starts with a (LF). It appears to get lost on page 1 as the text is one line higher that all the other pages. Can that be fixed?

2) The actual form is 12.8 x 7.0. Should I use those sizes instead of Legal? PAPRSIZE.IBS shows how to use PI.DMPAPERLENGTH and PI.DMPAPERWIDTH.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]