Previous Thread
Next Thread
Print Thread
Specifying bin from XCALL SPOOL #1190 26 Oct 17 04:43 PM
Joined: Aug 2016
Posts: 329
J
John Andreasen Offline OP
Member
OP Offline
Member
J
Joined: Aug 2016
Posts: 329
Hi,

I was wondering if there was a way to specify a bin from XCALL SPOOL? I did not see anything in the documentation, but wanted to verify before I created logical printers for each bin. I know if using GDI one can use //BIN also, and perhaps this is usable for this situation.

Thanks,
John Andreasen
Diversified Data Solutions

Re: Specifying bin from XCALL SPOOL #1191 26 Oct 17 05:05 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
I think embedding //BIN in the print file (or an ESCAPE sequence, if not using GDI printing) is the only option that doesn't involve separate logical printers. Neither SPOOL nor EZSPL have any option for doing this via the XCALL parameters themselves.

However, both interfaces support the ability to specify a prefix file, so you could put the //BIN or ESCAPE commands in separate files (BIN1.PFX, etc.) and specify them in the XCALL statement. Which would effectively accomplish the goal without having to modify the code that generates print files. (But you'd still have to modify the XCALL statements to add the prefix.)


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3