Page 1 of 1

Printing dialog out of order

Posted: December 22nd, 2018, 10:28 am
by davidh
Alpha 20-Dec-2018

I tried to print a image from Layout and encountered the following problems:

- on opening the Print dialog Default settings are not loaded, the Caption contains the string: ″″

- command Reload Last Settings appends the caption to already existing making a line of ″″″″,
sometimes it also gets apended on opening the Print dialog, possibly depending on the commands used previously, restarting, etc

- command Load Settings ends in error message Settings file C:\Users\user name\Documents\Picture Window Pro\Print\settings file name.print - command line start with wrong command:print
This happens with newly created and saved settings

- Reset command, Equal and Minimum controls do not work
- Mirror Image cannot be checked

When I clicked Print dialog OK, nothing happened.

When I finally, after restarting PWP, printed the layout image, the Print dialog Caption ″″ got printed in the upper left corner of the image. It was not visible in the preview however.

Re: Printing dialog out of order

Posted: December 22nd, 2018, 10:51 am
by jsachs
It sounds like you have an obsolete version of Default.print. Try clearing the default settings and I suspect the problems will go away.

The caption does not display in the preview.

Re: Printing dialog out of order

Posted: December 22nd, 2018, 11:25 am
by davidh
Clearing the Default settings was the first thing I did.

The problem seems to by in saving the setting.

This is the fresh Default.print file contents:

print 0 cx0 0 cy0 0 cx1 1 cy1 1 scaletofit 0 htile 1 vtile 1 orientation1 0 mirror 0 units 1 halign 0 valign 0 lmargin 0.1181 rmargin 0.1181 tmargin 0.1181 bmargin 0.1181 overlap 0.1252 ww 3.15 hh 1.5722 profilename ″SPR2880 PrmGlsy Photo.icc″ caption ″″″″″″″″″″″″ intent 0 trc ″None″ display 1 sync_scroll 1 auto_preview 1

there are strange delimiters ″
and there is no Caption - I entered "Hello" - there is an acumulated strange string of delimiters ″″″″″″″″″″″″

Re: Printing dialog out of order

Posted: December 22nd, 2018, 11:40 am
by davidh
Now I have replaced the delimiters in the Default.print file with "" and the Caption displays correct Hello when the dialog opens.
Still, trying to load the default or user settings using the Load settings command ends in error.
It does not solve the problems with the other controls either.

The message says: ...command line start with wrong command:print
removing the print from the file generates a similar error: ....command line start with wrong command:0

Re: Printing dialog out of order

Posted: December 22nd, 2018, 12:13 pm
by jsachs
There appears to be some problem with the Unicode quote characters I am using, although they work OK in other modules.

Re: Printing dialog out of order

Posted: December 22nd, 2018, 1:57 pm
by jsachs
There were two problems -- one was some kind of bug in Visual C++ that saved the print module with the wrong encoding.

There was also a problem with one case of load settings which was looking for export instead of print for the command name.

Both problem are fixed for the next release.