Op 2010-09-15 15:59, Leonardo M. Ramé het geskryf:
> Nice!, and is it possible to send the bitmap data to lpr through a
> pipe?.

You can print stdout output of a program like that. eg:
   myprogram | lp


> Something like "cat myfile.bmp|lpr". This doesn't work, it just prints
> garbage, maybe "cat" is handling the file as text.

Yeah, I think cat treats it like text then.

So your best bet I think is to do:  lp myfile.bmp




Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to