Prev: error with mpt0
Next: pinstall false alerts
From: Oscar del Rio on 16 Jun 2007 11:05 ehabaziz2001(a)gmail.com wrote: > I am trying to add a line serial port printer so previously it was > defined on Solaris 8 as /dev/lp1 . All Cables are connected . Now on > Solaris 10 I got that message : Are you sure it is a serial-port printer and not a parallel port? I haven't seen serial port printers in ages! I have a parallel port printer configured in Solaris 10 using /dev/printers/0 which is a symlink to /devices/pci(a)1f,0/isa@7/dma@0,0/parallel@0,378:ecpp0 (of course it might be different in your system)
From: ehabaziz2001 on 22 Jun 2007 04:47 On Jun 16, 6:05 pm, Oscar del Rio <del...(a)mie.utoronto.ca> wrote: > ehabaziz2...(a)gmail.com wrote: > > I am trying to add a line serial port printer so previously it was > > defined on Solaris 8 as /dev/lp1 . All Cables are connected . Now on > > Solaris 10 I got that message : > > Are you sure it is a serial-port printer and not a parallel port? > I haven't seen serial port printers in ages! > > I have a parallel port printer configured in Solaris 10 using > /dev/printers/0 which is a symlink to > > /devices/pci(a)1f,0/isa@7/dma@0,0/parallel@0,378:ecpp0 > (of course it might be different in your system) I made the port /dev/lp1 but I faced this : Message from lp on Xerox (???) [ Fri Jun 22 11:45:36 ] ... Subject: Problem with printer lsr The printer lsr has stopped printing for the reason given below. Fix the problem and bring the printer back on line. Printing has stopped, but will be restarted in a few minutes; issue an enable command if you want to restart sooner. Unless someone issues a change request lp -i lsr-19 -P ... to change the page list to print, the current request will be reprinted from the beginning. The reason(s) it stopped (multiple reasons indicate repeated attempts): Failed to open the printer port. (No such file or directory)<EOT>
From: ehabaziz2001 on 22 Jun 2007 04:55 On Jun 22, 11:47 am, ehabaziz2...(a)gmail.com wrote: > On Jun 16, 6:05 pm, Oscar del Rio <del...(a)mie.utoronto.ca> wrote: > > > ehabaziz2...(a)gmail.com wrote: > > > I am trying to add a line serial port printer so previously it was > > > defined on Solaris 8 as /dev/lp1 . All Cables are connected . Now on > > > Solaris 10 I got that message : > > > Are you sure it is a serial-port printer and not a parallel port? > > I haven't seen serial port printers in ages! > > > I have a parallel port printer configured in Solaris 10 using > > /dev/printers/0 which is a symlink to > > > /devices/pci(a)1f,0/isa@7/dma@0,0/parallel@0,378:ecpp0 > > (of course it might be different in your system) > > I made the port /dev/lp1 but I faced this : > > Message from lp on Xerox (???) [ Fri Jun 22 11:45:36 ] ... > Subject: Problem with printer lsr > > The printer lsr has stopped printing for the reason given below. > Fix the problem and bring the printer back on line. > Printing has stopped, but will be restarted in a few minutes; > issue an enable command if you want to restart sooner. > Unless someone issues a change request > > lp -i lsr-19 -P ... > > to change the page list to print, the current request will be > reprinted from > the beginning. > > The reason(s) it stopped (multiple reasons indicate repeated > attempts): > > Failed to open the printer port. (No such file or directory)<EOT> I tried PRN1 is /dev/lp1. I tried /dev/ttya with failure. Is there is an entry I should delete after each time of trial a new port ?
From: Juergen Keil on 22 Jun 2007 07:20 ehabaziz2001(a)gmail.com writes: > On Jun 16, 6:05 pm, Oscar del Rio <del...(a)mie.utoronto.ca> wrote: >> ehabaziz2...(a)gmail.com wrote: >> > I am trying to add a line serial port printer so previously it was >> > defined on Solaris 8 as /dev/lp1 . All Cables are connected . Now on >> > Solaris 10 I got that message : >> >> Are you sure it is a serial-port printer and not a parallel port? >> I haven't seen serial port printers in ages! >> >> I have a parallel port printer configured in Solaris 10 using >> /dev/printers/0 which is a symlink to >> >> /devices/pci(a)1f,0/isa@7/dma@0,0/parallel@0,378:ecpp0 >> (of course it might be different in your system) > > I made the port /dev/lp1 but I faced this : > > > > Message from lp on Xerox (???) [ Fri Jun 22 11:45:36 ] ... > Subject: Problem with printer lsr .... > Failed to open the printer port. (No such file or directory)<EOT> There used to be a pkgadd postinstall script bug for the parallel printer driver in S10-x86 and OpenSolaris-x86 (upto build 60), which resulted in no device entries created for parallel printer devices: Bug ID: 6374608 Synopsis: No /devices entry for line printer http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6374608 Workaround is to manually install the missing driver binding entry, using the command: update_drv -a -i '"lp"' ecpp This workaround should create the missing /dev/lp* devices. And after running it, you should find the following line in "prtconf -D" output: lp, instance #0 (driver name: ecpp)
From: ehabaziz2001 on 23 Jun 2007 02:25
On Jun 22, 2:20 pm, Juergen Keil <j...(a)tools.de> wrote: > ehabaziz2...(a)gmail.com writes: > > On Jun 16, 6:05 pm, Oscar del Rio <del...(a)mie.utoronto.ca> wrote: > >> ehabaziz2...(a)gmail.com wrote: > >> > I am trying to add a line serial port printer so previously it was > >> > defined on Solaris 8 as /dev/lp1 . All Cables are connected . Now on > >> > Solaris 10 I got that message : > > >> Are you sure it is a serial-port printer and not a parallel port? > >> I haven't seen serial port printers in ages! > > >> I have a parallel port printer configured in Solaris 10 using > >> /dev/printers/0 which is a symlink to > > >> /devices/pci(a)1f,0/isa@7/dma@0,0/parallel@0,378:ecpp0 > >> (of course it might be different in your system) > > > I made the port /dev/lp1 but I faced this : > > > Message from lp on Xerox (???) [ Fri Jun 22 11:45:36 ] ... > > Subject: Problem with printer lsr > ... > > Failed to open the printer port. (No such file or directory)<EOT> > > There used to be a pkgadd postinstall script bug for the parallel > printer driver in S10-x86 and OpenSolaris-x86 (upto build 60), which > resulted in no device entries created for parallel printer devices: > > Bug ID: 6374608 > Synopsis: No /devices entry for line printerhttp://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6374608 > > Workaround is to manually install the missing driver binding > entry, using the command: > > update_drv -a -i '"lp"' ecpp > > This workaround should create the missing /dev/lp* devices. And after > running it, you should find the following line in "prtconf -D" output: > > lp, instance #0 (driver name: ecpp)- Hide quoted text - > > - Show quoted text - Thanks it works after issuing that command a new port appeared /dev/ printers/0 and I chose it and worked . Thanks again for your help |