I have a report that is "Chopping off" the leftmost 4 or 6 columns of the report because the printer has a margin that cannot print.
I am wondering if there is a way with NWP to set the left Margin, so the entire report is a few characters to the right.
I could of course change the template to leave extra spaces, but I figured this is a perfect job for a left margin.
Left Margin on Inkjet Printer.
Moderators: Susan Smith, admin, Gabriel
I tried downloading a new copy of FNSNAP.ZIP from ftp://ftp.ads.net/Brg_pub/Zip/
I wasn't able to find a copy of FNLEFT$ inside FNSNAP.DLL, is there a newer version?
I wasn't able to find a copy of FNLEFT$ inside FNSNAP.DLL, is there a newer version?
-
- Posts: 11
- Joined: Wed Feb 10, 2010 6:35 pm
- Location: Birmingham, Alabama
To GomezL:
Maybe I can help you.
GTisdale placed the new copy of fnsnap in the folder Brg_Pub using the name
fnsnap.dll (dated 04/06/10). Download the file then rename it to fnsnap.br.
Another option is to create in the printer.sys file the following:
PRINTER PCL [LEFTMARGIN(XXX)], "\E&aXXXL"
Then in your program:
00100 PRINT #255,USING "FORM C,SKIP 0": [LEFTMARGIN(nnn)]
where nnn is the number of spaces you want to indent. A space is equal to one character.
Maybe I can help you.
GTisdale placed the new copy of fnsnap in the folder Brg_Pub using the name
fnsnap.dll (dated 04/06/10). Download the file then rename it to fnsnap.br.
Another option is to create in the printer.sys file the following:
PRINTER PCL [LEFTMARGIN(XXX)], "\E&aXXXL"
Then in your program:
00100 PRINT #255,USING "FORM C,SKIP 0": [LEFTMARGIN(nnn)]
where nnn is the number of spaces you want to indent. A space is equal to one character.
-
- Posts: 11
- Joined: Wed Feb 10, 2010 6:35 pm
- Location: Birmingham, Alabama
Assuming no response by now, maybe the following could be added to
PRINTER.SYS:
PRINTER PCL [LEFTMARGIN(XXX)], "\E&aXXXL"
PRINTER NWP [LEFTMARGIN(XXX)],"\E&aXXXL"
Where XXX may be a value between 0 and 9 (Moves one character space).
I also changed PRINTER NWP [ROWCOL(XXX,YYY)], "\E&aYYYrXXXC"
and PRINTER PCL [ROWCOL(XXX,YYY)], "\E&aYYYrXXXc"
to: PRINTER PCL [ROWCOL(XXX,YYY)], "\E&aXXXR \E&aYYYC"
and: PRINTER NWP [ROWCOL(XXX,YYY)], "\E&aXXXR \E&aYYYC"
I also changed PRINTER NWP [POS(XXX,YYY)], "\E&aYYYrXXXC"
and PRINTER PCL [POS(XXX,YYY)], "\E&aYYYrXXXC"
to: PRINTER NWP [POS(XXX,YYY)], "\E&aXXXR \E&aYYYC"
and: PRINTER PCL [POS(XXX,YYY)], "\E&aXXXR \E&aYYYC"
PRINTER.SYS:
PRINTER PCL [LEFTMARGIN(XXX)], "\E&aXXXL"
PRINTER NWP [LEFTMARGIN(XXX)],"\E&aXXXL"
Where XXX may be a value between 0 and 9 (Moves one character space).
I also changed PRINTER NWP [ROWCOL(XXX,YYY)], "\E&aYYYrXXXC"
and PRINTER PCL [ROWCOL(XXX,YYY)], "\E&aYYYrXXXc"
to: PRINTER PCL [ROWCOL(XXX,YYY)], "\E&aXXXR \E&aYYYC"
and: PRINTER NWP [ROWCOL(XXX,YYY)], "\E&aXXXR \E&aYYYC"
I also changed PRINTER NWP [POS(XXX,YYY)], "\E&aYYYrXXXC"
and PRINTER PCL [POS(XXX,YYY)], "\E&aYYYrXXXC"
to: PRINTER NWP [POS(XXX,YYY)], "\E&aXXXR \E&aYYYC"
and: PRINTER PCL [POS(XXX,YYY)], "\E&aXXXR \E&aYYYC"