Re: [foxboro] ICC Print at 60 lines

  • From: "Hicks, Gaylon F." <gfhicks@xxxxxxx>
  • To: "'foxboro@xxxxxxxxxxxxx'" <foxboro@xxxxxxxxxxxxx>
  • Date: Fri, 11 Oct 2002 11:32:44 -0400

Thanks, this took care of things.  All I had to do was edit the iccprtsh
file to add a new elif statement parsing for the $PNAME "HP5si JetDirect",
add the "-l60" option to the "pr" command, and all is well.  

I may possibly know enough to be dangerous now.

Gaylon

-----Original Message-----
From: wcricker [mailto:wcricker@xxxxxxxxxxxxx]
Sent: Friday, October 11, 2002 9:58 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] ICC Print at 60 lines



What we have done (creating documentation for customer jobs) is
to create a 'printer' in the AW which mirrors an existing printer,
but gets sidetracked going thru the script '/opt/fox/ciocfg/iccprtsh'.

Basicly, the standard 'iccprtsh' looks at the printer type and applies
some special handling based on that type.  What we do is to create our
own special handling for this new type.  We add that type in two places;
Edit /etc/printers to add the printer, with our own custom printer 
description string, and edit into the script the processing changes we 
want. We can add control characters at the start of the file, form 
feeds between blocks, etc.

The downside are:
- that the 'new printer type' is put in by changing the
  '/etc/printers' file, and this is overwritten by any change to SysDef
  or Software Install,
- this requires a modification to a standard bit of Foxboro software.
  This sort of stuff often gets the negative attentions of the next
  service engineer to visit the site, and allways seems to get lost 
  on software upgrades,
- You gotta understand and program in shell script (modifying someone 
  elses fairly complicated code),
- etc.

However, we do get things like 60 lines per page on our HP printer,
some jobs we print in landscape, 2 columns, 1 IA block per printed page,
and so forth.


On the question of changing the temp files being sent to the printer,
one mechanism for doing this was to do the print, hit CANCEL when you would
otherwise select a printer, then go mess with the print files.   There is
a distinct dissadvantage here in that sometimes the CANCEL leaves the
print file incomplete, cutting lines off the end.  I think that if and
how much is probably based on some buffer sizes in ICC, but if you use 
this method, you gotta check every print to be sure the whole thing
is there.


William C. Ricker
FeedForward, Inc.
Marietta, GA, USA
wcricker@xxxxxxxxxxxxxxx
770-426-4422 


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: