VisionFS Unix to Windows Printing

VisionFS Unix to Windows Printing

Post by DMS » Sat, 04 Dec 1999 04:00:00



We are in the process of setting up some of our Windows shared printers for
use with Unix via VisionFS.  The problem, however, is that although a
dot-matrix printer will print fine, we need to connect HP DeskJets and HP
LaserJets instead.  I have tried to print to the DeskJet and it will print
fine for the first 2 or 3 pages, then it stops and its lights begin to blink
indicating an error.  My question is 2-part:

1) How can I get the DeskJets and LaserJets to print correctly?
2) After they are working, where can I find an interface script that will
allow these types of printers to print correctly through the spooler? I
found one script on the AP Lawrence web site but it does not work properly
with these types of printers

Thanks in advance for your help!

-Doug

 
 
 

VisionFS Unix to Windows Printing

Post by Tony Lawrenc » Sat, 04 Dec 1999 04:00:00



> We are in the process of setting up some of our Windows shared printers for
> use with Unix via VisionFS.  The problem, however, is that although a
> dot-matrix printer will print fine, we need to connect HP DeskJets and HP
> LaserJets instead.  I have tried to print to the DeskJet and it will print
> fine for the first 2 or 3 pages, then it stops and its lights begin to blink
> indicating an error.  My question is 2-part:

> 1) How can I get the DeskJets and LaserJets to print correctly?
> 2) After they are working, where can I find an interface script that will
> allow these types of printers to print correctly through the spooler? I
> found one script on the AP Lawrence web site but it does not work properly
> with these types of printers

I believe you are referring to
http://www.aplawrence.com/Unixart/visprint.html by
Jose Fernando Scheid Mascarenhas ?

That should work with any printer; your problem is probably
elsewhere.  You need to look at the setup in Windows (it
doesn't necessarily mean a thing if Windows itself prints
OK) and what data you are sending.  You might want to wrap
this in a regular HP interface script as JPR has suggested
several times (BTW, JP, if you'd clobber together an example
of that I'd publish it so future people reading that page
could see another way to do it).

--

SCO articles, help, book reviews, tests,
job listings and more : http://www.ApLawrence.com

 
 
 

VisionFS Unix to Windows Printing

Post by Jean-Pierre Radle » Sat, 04 Dec 1999 04:00:00


DMS opined (on Fri, Dec 03, 1999 at 11:23:59AM -0500):
| We are in the process of setting up some of our Windows shared printers for
| use with Unix via VisionFS.  The problem, however, is that although a
| dot-matrix printer will print fine, we need to connect HP DeskJets and HP
| LaserJets instead.  I have tried to print to the DeskJet and it will print
| fine for the first 2 or 3 pages, then it stops and its lights begin to blink
| indicating an error.  My question is 2-part:
|
| 1) How can I get the DeskJets and LaserJets to print correctly?

I've had no problem at all.

| 2) After they are working, where can I find an interface script that will
| allow these types of printers to print correctly through the spooler? I
| found one script on the AP Lawrence web site but it does not work properly
| with these types of printers

That script is a good place to start, but it's wrapped around the basic
dumb interface script.  Use its ideas and fix up a regular HPlaser
interface script.

--
JP

 
 
 

VisionFS Unix to Windows Printing

Post by DMS » Sat, 04 Dec 1999 04:00:00


Thanks for the info so far Tony & JP.  After more troubleshooting this
afternoon, I have some more details that might help narrow things down.
Using the visionp script, I have successfully ran tests with an Okidata 395
and an HP DeskJet 820CXI.  However, I have not been able to get my HP
DeskJet 670C and HP LaserJet IIP printers working properly.  Their symptoms
seem similar:  On both printers, no matter how long the document, it will
print fine until it gets to the LAST page.  Then, on the HP 670C, the top
amber light will blink twice a second until you press the top button; then
it will print the remaining page.  When the LJ IIP gets to the last page,
both lights remain lit, the display says "READY", and it will not print the
last page; I tried various buttons and none could get it to print the
remaining page.  So, given this newfound information, can you shed some
light as to what might be the problem?  And as far as modifying the HP
interface scripts, I'm really not familiar enough with the scripting end...

Thanks again,

-Doug

 
 
 

VisionFS Unix to Windows Printing

Post by larr » Sat, 04 Dec 1999 04:00:00



Quote:> Thanks for the info so far Tony & JP.  After more troubleshooting this
> afternoon, I have some more details that might help narrow things down.
> Using the visionp script, I have successfully ran tests with an Okidata
395
> and an HP DeskJet 820CXI.  However, I have not been able to get my HP
> DeskJet 670C and HP LaserJet IIP printers working properly.  Their
symptoms
> seem similar:  On both printers, no matter how long the document, it will
> print fine until it gets to the LAST page.  Then, on the HP 670C, the top
> amber light will blink twice a second until you press the top button; then
> it will print the remaining page.  When the LJ IIP gets to the last page,
> both lights remain lit, the display says "READY", and it will not print
the
> last page; I tried various buttons and none could get it to print the
> remaining page.  So, given this newfound information, can you shed some
> light as to what might be the problem?  And as far as modifying the HP
> interface scripts, I'm really not familiar enough with the scripting
end...

> Thanks again,

> -Doug

The printer is waiting for a final form feed. For HP Lasers the Reset
command will provide this
and do other cleanup.

(for infile
    do
       xtod $infile
       echo "\033E\c"
   done
) | /usr/vision/bin/visionfs print file://$server/$service -

--
larry

------------------------------------------------------------------
"Stay calm. Be brave. Wait for the signs."
- Dead Dog Cafe,  Blossom, Alberta
------------------------------------------------------------------

 
 
 

VisionFS Unix to Windows Printing

Post by Tony Lawrenc » Sat, 04 Dec 1999 04:00:00



> Thanks for the info so far Tony & JP.  After more troubleshooting this
> afternoon, I have some more details that might help narrow things down.
> Using the visionp script, I have successfully ran tests with an Okidata 395
> and an HP DeskJet 820CXI.  However, I have not been able to get my HP
> DeskJet 670C and HP LaserJet IIP printers working properly.  Their symptoms
> seem similar:  On both printers, no matter how long the document, it will
> print fine until it gets to the LAST page.  

That's just a form feed.

JPR has provided a script for HPLaserJet.  You'll find it at
http://www.aplawrence.com/Unixart/jprdiff.html along with
instructions.

--

SCO articles, help, book reviews, tests,
job listings and more : http://www.ApLawrence.com

 
 
 

VisionFS Unix to Windows Printing

Post by Bill Vermilli » Sun, 05 Dec 1999 04:00:00




>... However, I
>have not been able to get my HP DeskJet 670C and HP LaserJet IIP
>printers working properly. Their symptoms seem similar: On both
>printers, no matter how long the document, it will print fine until
>it gets to the LAST page. Then, on the HP 670C, the top amber
>light will blink twice a second until you press the top button;
>then it will print the remaining page. When the LJ IIP gets to
>the last page, both lights remain lit, the display says "READY",
>and it will not print the last page; I tried various buttons and
>none could get it to print the remaining page.

Try adding an Escape E as the last line of the script.  That's
where you typically see  \f\c.   Escape E will flush any buffers
and print the page.  It also will reset the printer, which means
that you will always start from a known state.

--

 
 
 

VisionFS Unix to Windows Printing

Post by DMS » Fri, 10 Dec 1999 04:00:00


Thanks again to everyone who responded and offered their suggestions.  I
downloaded JPR's HPLaserJet patch and it's working great -- even works with
my DeskJet 670C!

-Doug

 
 
 

VisionFS Unix to Windows Printing

Post by William Herber » Sat, 11 Dec 1999 04:00:00


 This patch seems to work well for single pages, however, when I send
it a job that consists of more than one page, the print job goes into
never never land. Any ideah's? Could this be a visionfs issue?




Quote:

>JPR has provided a script for HPLaserJet.  You'll find it at
>http://www.aplawrence.com/Unixart/jprdiff.html along with
>instructions.

 
 
 

VisionFS Unix to Windows Printing

Post by Jean-Pierre Radle » Sat, 11 Dec 1999 04:00:00


Hemo opined (on Fri, Dec 10, 1999 at 04:16:52AM -0600):
| On Thu, 9 Dec 1999 11:21:54 -0500, the entity known as "DMS"
|
| >Thanks again to everyone who responded and offered their suggestions.  I
| >downloaded JPR's HPLaserJet patch and it's working great -- even works with
| >my DeskJet 670C!
| >
|
| Yes. Nice script, isn't it?  I've used it many places to enable SCO to
| printer to those * 'windows only' printers.  Even our form software works
| well via the script.

If you can print to a "windows only" printer, then please tell me how.

My script does nothing to address those printers.

--
JP

 
 
 

VisionFS Unix to Windows Printing

Post by Jean-Pierre Radle » Sat, 11 Dec 1999 04:00:00


William Herbert opined (on Fri, Dec 10, 1999 at 12:57:47PM -0500):
|

|
| >JPR has provided a script for HPLaserJet.  You'll find it at
| >http://www.aplawrence.com/Unixart/jprdiff.html along with
| >instructions.
|
|  This patch seems to work well for single pages, however, when I send
| it a job that consists of more than one page, the print job goes into
| never never land. Any ideah's? Could this be a visionfs issue?

I think not.  I have clients running that script and printing out many,
many multi-page reports.

--
JP

 
 
 

VisionFS Unix to Windows Printing

Post by Toby Darlin » Sun, 12 Dec 1999 04:00:00



>  This patch

Patch? or script?

Quote:> seems to work well for single pages, however, when I send
> it a job that consists of more than one page, the print job goes into
> never never land. Any ideah's? Could this be a visionfs issue?

If you are still running VisionFS 3.00.91[357] you should get the latest
VisionFS patch from ftp.sco.com/vision/VisionFS/3.0/Patches/. There was
an issue with larger print jobs in early versions of VisionFS.
 
 
 

1. How do you print from VisionFS on SCO 5.0.4 to a Windows 95 printer?

We have SCO 5.0.4 and VisionFS 2.1.905 runnning on it.  A WinBlows 95
machine has a printer connected to it.  We need to be able to print to
the 95 machine from the SCO server.  File and printer sharing is enabled
on the 95 machine.  The printer driver has been added and has been
configured properly.  Is there any setup I have to do on the SCO box to
be able to print to the printer attached to the 95 box with the
./visionfs print command?  I am new to this visionfs thing so I'm
probably missing a step or two.

Any help would be appreciated... thanks

2. Toshiba CD-ROM

3. VisionFS - Printing from WIndows 95

4. Two questions

5. Printing problem w/VisionFS/SCO 5.0.4 to Windows 95

6. Y2K Tests

7. Visionfs not printing windows graphics correctly

8. Why does my module not load?

9. VisionFS 2.504 - how to print from Netscape on Unix server to a Windows95 attached printer

10. visionfs print unix->win95 printer ???

11. Printing italics, bold, underline to UNIX printing for Windows

12. 'visionfs print' to PPP attached PC. . .

13. Win95 print to Visionfs shared printer problem.