Yes it is a laser printer. We don't don't send any PCL codes from the application. We do have some workstation customizing objects set up for other printers, but not this one. Changing the font parameter on the OVRPRTF to *CPI seemed to do the trick. I tend to look at it as laser printers are more likely to act on what the system is sending them while more simplistic printers, such as dot-matrix, tend to ignore those codes/commands. That's just my view based on past experience. It seems like it's usually possible to get it to do what you want it to do but you have to "play by the rules". The problem is figuring out what those rules are, which ones have priority, etc... :-) Dave Parnin -- Nishikawa Standard Company Topeka, IN 46571 daparnin@xxxxxxxxxxxxxx "Glenn Gundermann" <ggundermann@xxxxxx> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx> Sent by: cc: midrange-l-bounces@m Subject: Re: What am I forgetting about printer files??? idrange.com 11/29/2006 05:26 PM Please respond to Midrange Systems Technical Discussion Dave, The fact that you say it's auto rotating implies you are using a laser printer. Are you sending PCL codes to the printer? I've seen programs that were doing this, which totally overrides any ovrprtf you may be doing. The PCL codes can specify page size, lpi, cpi, font, vertical and horizontal print position, etc. Glenn Gundermann ggundermann@xxxxxx (647) 272-3295
We never enter/print manual checks in our payroll software but a couple
weeks ago we had a need however the spool file did the auto-rotate thing and wouldn't line up correctly. I was busy with another issue and time was an issue so they had to resort to typing the checks. (ughhh!) Today I'm trying to make it work like we want it to. There is no printer file involved. The CL program does an OVRPRTF then calls the RPG program that does the printing with O-specs. I have added a PAGRTT(0) and the orientation is correct but despite the fact that CPI and LPI are specified it ignores the CPI(15) and prints at 10 CPI. Any ideas why? Original: OVRPRTF FILE(PAYCHECK) PAGESIZE(64 132) LPI(8) + CPI(15) RPLUNPRT(*YES ' ') ALIGN(*YES) + FORMTYPE(PAYCHECK) HOLD(*YES) SAVE(*YES) Modified: OVRPRTF FILE(PAYCHECK) PAGESIZE(64 132) LPI(8) + CPI(15) RPLUNPRT(*YES ' ') ALIGN(*YES) + PAGRTT(0) FORMTYPE(PAYCHECK) HOLD(*YES) + SAVE(*YES) Dave Parnin -- Nishikawa Standard Company Topeka, IN 46571 daparnin@xxxxxxxxxxxxxx
-- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.