Sponsored Content
Full Discussion: HP 2035n
Operating Systems SCO HP 2035n Post 302573494 by jgt on Monday 14th of November 2011 05:59:52 PM
Old 11-14-2011
Today I ran into a problem with a Canon printer that would not work set up as a remote printer, or an HP printer.
In the end I "googled" "netcat SCO" and found a site where I could download netcat and then set up a local printer using a "dumb" printer model, and the device as /dev/null.
Then I edited the driver file in the interfaces directory to remove the form feeds, and banners and replaced the line:
Code:
 0<${file}..........................

with
Code:
netcat -h printerip -p 9100 <$file

Works whether $file is postscript or PCL.
Just make sure that you take care of the form feeds and reset.
This User Gave Thanks to jgt For This Post:
 
ULPT(4) 						   BSD Kernel Interfaces Manual 						   ULPT(4)

NAME
ulpt -- USB printer support SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device ulpt Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): ulpt_load="YES" DESCRIPTION
The ulpt driver provides support for USB printers that follow the printer bi- or uni-directional protocol. The bits in the minor number select various features of the driver. Minor Bit Function 64 Do not initialize (reset) the device on the port. Some printers cannot handle the reset on open; in case of problems try the unlpt device. HARDWARE
The ulpt driver provides support for USB printers and parallel printer conversion cables, including the following: o ATen parallel printer adapter o Belkin F5U002 parallel printer adapter o Canon BJ F850, S600 o Canon LBP-1310, 350 o Entrega USB-to-parallel printer adapter o Hewlett-Packard HP Deskjet 3420 (P/N: C8947A #ABJ) o Oki Data MICROLINE ML660PS o Seiko Epson PM-900C, 880C, 820C, 730C FILES
/dev/ulpt? device with reset /dev/unlpt? device without reset SEE ALSO
lpt(4), usb(4) HISTORY
The ulpt driver appeared in NetBSD 1.4. This manual page was adopted from NetBSD by Tom Rhodes <trhodes@FreeBSD.org> in April 2002. BSD
November 22, 2006 BSD
All times are GMT -4. The time now is 12:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy