Jump to content

Text on Proof only (i.e. Watermarks)


jl_arnold

Recommended Posts

I have a template that contains to layered variable text frames.

 

The variable text frames are stacked on top of each other with the same content, only the color of the text is different. This product is a clear static cling, so the variable text frames are layered so the background text frame font color is white and the foreground color is black.

 

This item is changing. We will no longer be printing the black layer. However for proofing purposes, we'll likely need to keep these black variable text frames setting it to preview only to see the text in the proof.

 

 

In FusionPro, I created a new rule: PreviewBlack. The code to the rule is below:

 

if (FusionPro.Composition.isPreview &&
!FusionPro.Composition.composeThisRecord)
return Resource("PreviewBlackHours");
else return "";

 

 

 

The Black text frame content to Rule("PreviewBlack"). FusionPro no long displays the black text (which is the expected outcome).

 

 

I uploaded my collected files to MarcomCentral, but in composition, it does not display the black in the Proof/Preview.

 

Am I doing something wrong? I know the documentation on the rule I'm trying to edit returns text and not a Field or Resource, but I can't see why that would not be working.

 

 

 

Can you help me figure out the best way to get this type of product setup so we get a press print file with only white font but the store proof gets a colored font or outline so the user can see what they are proofing?

 

 

Thanks!

Jason

Link to comment
Share on other sites

Wow! That was easier than expected!

 

There is one more part of this product that used to have black text but it will now be in white. It's part of the background of the PDF.

 

I deleted the black layer and added a variable Graphic frame in its place. I created a Graphic Resource "PreviewBlack" choosing the pdf with the black text. I also created the rule to return the Resource("PreviewBlack").

 

The graphic rule is working in FusionPro, but does not appear in MarcomCentral. The only reason I can think of is that during uploading to MarcomCentral, my collect file contains the PDF file from the Graphic Resource, but it doesn't get uploaded with the rest of my collect files because only one PDF is allowed.

 

 

Is there a different method to display a graphic resource? (note: FusionPro tells me there could be an error with my graphic rule. It says Graphic Rules must display graphics, but the graphic displays in FusionPro)

 

return IsPreview() ? Resource("PreviewBlack") : '';

 

 

Thanks!

Jason

Link to comment
Share on other sites

(note: FusionPro tells me there could be an error with my graphic rule. It says Graphic Rules must display graphics, but the graphic displays in FusionPro)

 

The NullResource() FusionPro function should clear the error message that says "This graphic rule must return a Resource of type graphic.". It returns an empty graphic or text resource.

 

return IsPreview() ? Resource("PreviewBlack") : NullResource();

Link to comment
Share on other sites

The graphic rule is working in FusionPro, but does not appear in MarcomCentral. The only reason I can think of is that during uploading to MarcomCentral, my collect file contains the PDF file from the Graphic Resource, but it doesn't get uploaded with the rest of my collect files because only one PDF is allowed.

I don't use MarcomCentral so I really don't know. You could ask that question on the MarcomCentral forum, though, and someone could probably help.

Is there a different method to display a graphic resource? (note: FusionPro tells me there could be an error with my graphic rule. It says Graphic Rules must display graphics, but the graphic displays in FusionPro)

Gotcha. Sorry, I didn't realize you were returning a graphic rule. You could use the CreateResource function instead if you'd like:

return IsPreview() ? CreateResource('/path/to/your.pdf', 'graphic') : NullResource();

Link to comment
Share on other sites

This does not seem to be working. I still get my text to preview with the black font, but the graphic is not getting added to the preview output file.

 

I did not originally realize I would need to create a preview rule for a background graphic, but once I did, I assumed it would be as easy as the text resources since I selected to include the Graphic Resources when collecting the files.

 

Is there a reason this doesn't work the same with graphics? Or does my graphic need to be a file type other than PDF?

 

Thanks!

Jason

Edited by jl_arnold
Link to comment
Share on other sites

This does not seem to be working. I still get my text to preview with the black font, but the graphic is not getting added to the preview output file.

 

I didn't not originally realize I would need to create a preview rule for a background graphic, but once I did, I assumed it would be as easy as the text resources since I selected to include the Graphic Resources when collecting the files.

 

Is there a reason this doesn't work the same with graphics? Or does my graphic need to be a file type other than PDF?

Perhaps this is a silly question, but did you create a Graphic frame on top of all the other frames and set it to call out the Graphic rule?

Link to comment
Share on other sites

The Graphic Frame is sized 12" x 12", and I created it and layered it below all text frames. (See Screenshot)

guestaccess.aspx?guestaccesstoken=1lZAZCeVt48m9KMxcKPI02NJu2QA%2bp9Gqid8GnYVgDY%3d&docid=0f1c791f0939e4662a138f5daa21b3bff&rev=1

 

 

 

I saved the graphic as the following:

https://images.printable.com/imagelibrary/Seller/1061/GoldStar_03072016055724_260/images/src/Front%20Door_Hours_v2png.png

 

https://images.printable.com/imagelibrary/Seller/1061/GoldStar_03072016055724_260/images/src/Front%20Door_Hours_v2.pdf

 

 

I also have a JPG saved, but haven't tried CreateResource() with that file. I used the PNG and PDF incase the graphic was getting layered on top, since the PNG and PDF should have transparencies.

 

 

 

The original rule worked with FusionPro in the PDF:

return IsPreview() ? Resource("PreviewBlack") : NullResource();

 

 

But this does not work in MarcomCentral, and neither does:

 

return IsPreview() ? CreateResource('https://images.printable.com/imagelibrary/Seller/1061/GoldStar_03072016055724_260/images/src/Front%20Door_Hours_v2png.png', 'graphic') : NullResource();

Link to comment
Share on other sites

The Graphic Frame is sized 12" x 12", and I created it and layered it below all text frames. (See Screenshot)

Okay, now I see the really (!) big picture. (I would have believed you even without the screenshot.)

 

I would put the watermark in front of all the other frames instead of behind them, but okay.

I also have a JPG saved, but haven't tried CreateResource() with that file. I used the PNG and PDF incase the graphic was getting layered on top, since the PNG and PDF should have transparencies.

Right, PNG and PDF files can have transparencies, but they're not guaranteed to.

The original rule worked with FusionPro in the PDF:

return IsPreview() ? Resource("PreviewBlack") : NullResource();

What do you mean "in the PDF?" Do you mean in Acrobat?

But this does not work in MarcomCentral

Okay, well, this is now really a MarcomCentral-specific question, and should probably be on the MCC-specified subforum. But, we're already here, so it's fine.

 

Anyway, the most likely causes of it not working on MarcomCentral are:

  1. The graphic was not uploaded to an image library in MarcomCentral.
  2. The graphic failed to downsample when you uploaded it.
  3. You're not actually creating a "proof" in MarcomCentral.

The best way to find out which of these is the problem is to look at the log file from the MarcomCentral composition. If you are viewing the proof PDF, you should be able to see the URL to it in your browser's address bar. You can change the end of the URL from ".pdf" to ".msg" and then download the log file.

, and neither does:

 

return IsPreview() ? CreateResource('https://images.printable.com/imagelibrary/Seller/1061/GoldStar_03072016055724_260/images/src/Front%20Door_Hours_v2png.png', 'graphic') : NullResource();

You can call out a URL in CreateResource, but it has to start with "http://", not "https://".

 

P.S. Mmm, Cincinnati Chili!

Link to comment
Share on other sites

I just tried the following rule too:

 

return IsPreview() ? CreateResource('https://images.printable.com/imagelibrary/Seller/1061/GoldStar_03072016055724_260/images/src/Front%20Door_Hours_v2.pdf', 'graphic') : CreateResource('https://images.printable.com/imagelibrary/Seller/1061/GoldStar_03072016055724_260/images/src/Front%20Door_Hours_v2_Whitebacking.pdf', 'graphic');

 

which didn't work, but my first fix from your response was losing the Secure protocol, and only changing "https" to "http" made it work. FusionPro was saying the CreateResource("https://....") did not exist, but had no issues with CreateResource("http://....").

Problem Solved!

 

That rule made it so I didn't have to do worry about the white background I couldn't always see.

 

 

Thanks for the help!!!

 

Jason

 

P.S. I like Skyline Chili better. (Don't tell our client, Gold Star Chili)

Link to comment
Share on other sites

Problem Solved!

 

That rule made it so I didn't have to do worry about the white background I couldn't always see.

 

 

Thanks for the help!!!

 

Jason

 

P.S. I like Skyline Chili better. (Don't tell our client, Gold Star Chili)

Glad I could help. I will gladly accept Skyline Chili as a form of gratitude! :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...