Printing without preview from a Remote Desktop session shows an XPS save dialog (Reported, not reproduced)

Applies to: posted in the sv.clarion.clarion10 group in 2022; the thread names no Clarion version.

Problem as reported

A customer reaches the application through a remote desktop. When they print a report and answer "No" to preview, they get a save dialog for the XPS file type and nothing prints. If they choose preview, the report opens in the default PDF viewer and prints fine. The poster asked whether Clarion uses PCL escape sequences in standard reports.

What the thread found

  • No PCL from Clarion: one reply said Clarion creates a WMF that is sent to the printer, so the client PCs need configuring for printing. Another said Clarion stores one WMF image per page in a single file (the .tmp files in %temp%), and the Windows print driver turns it into PCL 6. The poster answered that PCL is what the latest versions of Easy Print have trouble with.
  • What worked for the posters: create a PDF on the server and view or print it on the local computer. One used PDF templates and a self-made viewer as the previewer, with the PDF printer as the server default. One used a PDF wrapper template and the TSplus universal printer, with a program button that copies the PDF to the client.
  • Another poster wrote a "print server": a table of report type and reference number, read by a client app on a local PC. WebSockets with a server-made PDF also worked but was slow for POS.
  • To skip the previewer, one reply said to open it hidden and POST(Event:Accepted, ButtonPrint).

Caveats

  • The poster's own app already creates PDFs; his problem is one hosting company, printing without preview.
  • The thread did not settle why Easy Print fails there.

Today (2026)

Not reproduced. This entry records a 2022 report; it does not state a defect. A reader on a current build who can confirm or close it is asked to say so.

Sources: Andy M. (Nov 2022, the question), Geoff, Rohan, Koen T., Bob C. (Nov 2022) in sv.clarion.clarion10.