I have a program, segment included below, that partially works.  The first 
'runcommand' example works, but the 2nd doesn't?
 
If I type the lp command line, it prints perfectly..
 
 if RunCommand('unix2dos', ['-n', '-f', 
'/mbs/mbs/file/cust.f','/mbs/mbs/file/cust.frm'],s) then
 writeln(s);
  if RunCommand('/bin/lp', ['-d', ' printer1','-o=raw' 
,'/mbs/mbs/file/cust.frm'], s) then
  writeln(s);
  errormsg.text := 'We are done with runcommand now s= '+ s;                    
            
 
Fedora 37, Lazarus 2.2.4 FPC 3.2.2  X64 Linux gtk2

John A. Ward, President

 
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to