Skip to main content
21-Topaz II
December 14, 2015
Solved

Print Mapkey Issue

  • December 14, 2015
  • 2 replies
  • 5591 views

Creo 3, M060

I'm trying to recreate our print mapkeys to work with the new Creo 3 preview.

In drawing mode, if I select:

File > Print > Settings > [pick correct PCF] > OK > Preview > Print

The preview looks right, the Windows print dialog appears and I get the output I desire at the printer.  If I record those steps as a mapkey, however, and run it, Creo zooms into the preview prior to calling up the Windows print dialog and it appears as though the print will be wrong.  The actual output to the printer is correct however.  To the user, it looks like it will be wrong and they will likely cancel instead of printing and I'll get called to fix something that isn't actually broken.

If I remove the "Print" selection from the mapkey, it works.  Of course, that adds another step and the user may sit and wait, expecting (as it did in Creo 2 and earlier) the Windows print dialog to appear.

It seems to effect prints based no zoom more than full prints, although I've seen the issue on each.

Anyone find this and have a fix?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by dgschaefer

I filed a case with tech support and they were able to reproduce it and they are filing an SPR against it.

https://support.ptc.com/appserver/cs/view/spr.jsp?n=5003937 

2 replies

23-Emerald IV
December 14, 2015

Doug Schaefer‌,

Here is a copy of one of our printing mapkeys.  This contains an extra command to open and close the paper dialog since failing to do so can change the printing output in certain situations.  Obviously you will need to change the print config ('A_Size_RICOH') to the name of your PCF.  You may also need to change the orientation from 0 to 1 on line 6 if you need landscape.

mapkey pa @MAPKEY_NAMEPrint A;@MAPKEY_LABELPrint A;\

mapkey(continued) ~ Command `ProCmdModelPrint` ;~ Command `ProCmdDwgPubSettings` ;\

mapkey(continued) ~ Activate `dwg_print_config` `A_Size_RICOH`;\

mapkey(continued) ~ Activate `dwg_print_config` `OK`;\

mapkey(continued) ~ Select `main_dlg_cur` \

mapkey(continued) `ProCmdDwgOrientationGallery_layoutph.orientationList` 0;\

mapkey(continued) ~ Command `ProCmdDwgPubPrint` ;~ Command `ProCmdDwgPubClosePreview`;

21-Topaz II
December 14, 2015

I tried yours, but it does not select preview prior to printing.  Here are my test mapkeys:

mapkey aaa ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdModelPrint` ;\

mapkey(continued) ~ Command `ProCmdDwgPubSettings` ;\

!mapkey(continued) ~ Select `dwg_print_config` `CascadeButton1`;\

!mapkey(continued) ~ Close `dwg_print_config` `CascadeButton1`;\

mapkey(continued) ~ Activate `dwg_print_config` `01 Zoom, A-Size, Laser Print`;\

mapkey(continued) ~ Activate `dwg_print_config` `OK`;~ Command `ProCmdDwgPreview`  1;\

mapkey(continued) ~ Command `ProCmdDwgPubPrint`;

!

mapkey qqq ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdModelPrint` ;\

mapkey(continued) ~ Command `ProCmdDwgPubSettings` ;\

!mapkey(continued) ~ Select `dwg_print_config` `CascadeButton1`;\

!mapkey(continued) ~ Close `dwg_print_config` `CascadeButton1`;\

mapkey(continued) ~ Activate `dwg_print_config` `01 Zoom, A-Size, Laser Print`;\

mapkey(continued) ~ Activate `dwg_print_config` `OK`;~ Command `ProCmdDwgPreview`  1;

The first mapkey pushes print, the second does not.  The first changes the preview, the second does not.

The two commented lines came from how it was recorded, but don't seem to be necessary.

EDIT: OK, for some reason the mapkeys appear fine in the editor, but come through jumbled after.  I've attached a text file in case you can't see them.

23-Emerald IV
December 15, 2015

Just to clarify, why do you want to go through preview?  Do you want the user to see the preview then pause the mapkey so they can verify it looks correct first?  I don't see a pause in your current mapkeys, so I'm not sure what the benefit of pushing preview is.

dgschaefer21-Topaz IIAuthorAnswer
21-Topaz II
December 15, 2015

I filed a case with tech support and they were able to reproduce it and they are filing an SPR against it.

https://support.ptc.com/appserver/cs/view/spr.jsp?n=5003937 

14-Alexandrite
March 17, 2016

Doug,

Looks like i dont have access to see the status of the SPR. Can you give an update on this? Just went live with Creo 3.0 and our Print mapkeys died. Switched most to quick print but the ones where we save like a B-Size to and A-Size sheet. the mapkey is not saving the action of accepting the Ok on the Print dialog box that shows up.

21-Topaz II
March 17, 2016

As of today it still says "Evaluating" for both Creo 3 & Creo 4, no resolution.