Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-26 Thread Mayuresh
On Fri, Jun 26, 2020 at 11:37:21PM +0100, Steve Kirk wrote: > Oops, bit slow replying here... Never mind as I am even slower in implementing! Finding difficult to make time.. > If you're still looking at the NFS-based solution, the first thing I'd > suggest for improving perfomance is mounting it

Re: Providing temporary storage space to a VM: qcow, nfs etc

2020-06-26 Thread Steve Kirk
Oops, bit slow replying here... On Thu, Jun 25, 2020 at 02:49:25PM +0530, Mayuresh wrote: > In short which network based file system (I guess it's only NFS), with > some tuning, can give me a good performance, and what sort of tuning > tricks are involved. Here the network is local between host an

Re: Use network printer from NetBSD

2020-06-26 Thread Brett Lymn
On Fri, Jun 26, 2020 at 01:23:31PM +0200, Rocky Hotas wrote: > > > > > The user manual seems not to mention anything useful about queues of > accepted input formats. > How to correctly guess the requirements of a print

Re: Use network printer from NetBSD

2020-06-26 Thread MLH
mlh wrote: > mlh wrote: > > Then added the following to /etc/printcap : > > lp|Brother HL-5250DN:\ > > :lp=:rp=brother5250:rm=brother5250:sd=/var/spool/output/lpd:\ > > :if=/root/scripts/psonly600-filter:\ > > :lf=/var/log/lpd-errs:mx#0: > > Ha. I did this back in 2008 and

Re: Use network printer from NetBSD

2020-06-26 Thread MLH
mlh wrote: > On 2020-06-26 15:34, Michael van Elst wrote: > >> b...@update.uu.se (Johnny Billquist) writes: > ... > >>> BR-Script3 is something that walks, swims and quacks like Postscript. > > >>Interesting. Why do they then need a driver in Windows in order to be > >>able to print postscript? >

Re: Use network printer from NetBSD

2020-06-26 Thread MLH
On 2020-06-26 15:34, Michael van Elst wrote: >> b...@update.uu.se (Johnny Billquist) writes: ... >>> BR-Script3 is something that walks, swims and quacks like Postscript. >>Interesting. Why do they then need a driver in Windows in order to be >>able to print postscript? >The printers support som

Re: Use network printer from NetBSD

2020-06-26 Thread Nathanial Sloss
Hi, Some Brother printers are advertised as postscript but rather are PCL. Some models support lpr print queues. This is the printcap file I use for a PCL lpr print queue Brother laser printer. This printer only prints in PCL so all text has to be converted to PDF before printing or you have

Re: Use network printer from NetBSD

2020-06-26 Thread Michael van Elst
b...@update.uu.se (Johnny Billquist) writes: >On 2020-06-26 15:34, Michael van Elst wrote: >> b...@update.uu.se (Johnny Billquist) writes: >> >>> Any other model apparently do not have any kind of printer emulation >>> capability. I suspect BR-Script3 is Brothers own print >>> handling/layout/for

Re: Use network printer from NetBSD

2020-06-26 Thread Johnny Billquist
On 2020-06-26 15:34, Michael van Elst wrote: b...@update.uu.se (Johnny Billquist) writes: Any other model apparently do not have any kind of printer emulation capability. I suspect BR-Script3 is Brothers own print handling/layout/formatting/whatever protocol, and that is the only protocol suppo

Re: Use network printer from NetBSD

2020-06-26 Thread Michael van Elst
b...@update.uu.se (Johnny Billquist) writes: >Any other model apparently do not have any kind of printer emulation >capability. I suspect BR-Script3 is Brothers own print >handling/layout/formatting/whatever protocol, and that is the only >protocol supported on other models. BR-Script3 is some

Re: Use network printer from NetBSD

2020-06-26 Thread Johnny Billquist
On 2020-06-26 14:42, Johnny Billquist wrote: On 2020-06-26 13:23, Rocky Hotas wrote: On giu 25 14:18, Greg Troxel wrote: That doesn't really surprise me if the printer expects postscript.  You omitted the model from your email. As in a previous answer to this thread, it is Brother MFC L2750D

Re: Use network printer from NetBSD

2020-06-26 Thread Johnny Billquist
On 2020-06-26 13:55, Greg Troxel wrote: Johnny Billquist writes: Apart from that, I guess it's going to be possibly reading the manufacturers documentation, and if you are unlucky, that printer talks some proprietary protocol, and they provide a Windows driver for you. (Good luck getting such

Re: Use network printer from NetBSD

2020-06-26 Thread Robert Nestor
It’s been a few years since I set up my HL-1270N, but as I recall I found the information on the internal queues and the requirement for sending the EOT at the end of a document in the User’s Manual. And I think they get listed when I ask the printer to print out a configuration report which c

Re: Use network printer from NetBSD

2020-06-26 Thread Johnny Billquist
On 2020-06-26 13:23, Rocky Hotas wrote: On giu 25 14:18, Greg Troxel wrote: The first thing to understand is what format the printer wants. Back in the old days, printers were postscript, and you basically had to send them postscript. (Or HP's PCL.) Yes, of couse, but how? By reading the

Re: Use network printer from NetBSD

2020-06-26 Thread Greg Troxel
Johnny Billquist writes: > Apart from that, I guess it's going to be possibly reading the > manufacturers documentation, and if you are unlucky, that printer > talks some proprietary protocol, and they provide a Windows driver for > you. (Good luck getting such a Windows driver work on any Unix-l

Re: Use network printer from NetBSD

2020-06-26 Thread Johnny Billquist
On 2020-06-26 13:05, Rocky Hotas wrote: On giu 26 10:38, JingYuan Chen wrote: How about using pdf2ps and netcat ? pdf2ps urpdf.pdf - | netcat -w 1 printer_IP printer_port Thanks for this suggestion. I tried, but when using 515 as printer_port nothing happens. When instead using 9100, in the p

Re: Use network printer from NetBSD

2020-06-26 Thread Greg Troxel
Rocky Hotas writes: >> 0) read enough docs/etc. to find out what the printer wants > > > > The user manual seems not to mention anything useful about queues of > accepted input formats. > How to correctly guess the requ

Re: Use network printer from NetBSD

2020-06-26 Thread Rocky Hotas
On giu 25 14:18, Greg Troxel wrote: > The first thing to understand is what format the printer wants. Back in > the old days, printers were postscript, and you basically had to send > them postscript. (Or HP's PCL.) Yes, of couse, but how? > I think 9100 is what HP called "jetdirect". I some

Re: Use network printer from NetBSD

2020-06-26 Thread Rocky Hotas
On giu 26 10:38, JingYuan Chen wrote: > How about using pdf2ps and netcat ? > > pdf2ps urpdf.pdf - | netcat -w 1 printer_IP printer_port Thanks for this suggestion. I tried, but when using 515 as printer_port nothing happens. When instead using 9100, in the printer display `Receiving data' appear

Re: Use network printer from NetBSD

2020-06-26 Thread Rocky Hotas
On giu 25 19:45, Robert Nestor wrote: > On my old Brother HL-1270N I found I had to append a “\004” to the end of any > file sent to the printer to get it to print. Ok! How did you figure it out? In my case, I tried to append a `\004' (ASCII EOT) to my test plain-text file, but nothing happened.