Two problems when printing behind WAS
Author: knut.dybendahl@gmail.com (Knut)
Hi all, Problem 1; I have a form / report component (FRM1) called from a USP using activate. In FRM1 I do a print "LASER1", "A" and Uniface gives me a -400 error. LASER1 is defined as a logical printer (in USYS.INI) - and maps to a printer model LASER1 which is set up to use P_MSWINX with /nodialog and /queue=LASER1. I've changed the login of userver to use my own credentials so I'm sure I have the appropriate access rights to get to the spooler - but simply no joy... Just to be clear - I need to produce the file on the server - and return the result.... in the example above I print to a network printer / local port defined as a file - neither works. As a side issue, as I need to produce a pdf file and send that pdf file back to the browser, I've had a look at PdfCreator. Does anyone have any alternatives? Problem 2; The output contains an image loaded from a disc file. When viewing the image on screen (scaling = 100) - the image appears correct. When running in the report it's stretched beyond the size of the image field - even though it's the same component. Any ideas anyone?




