Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Search
Search


Forum Index » ShipWorks 3

Post new topic   Reply to topic
Express Mail and International mail Rubber stamps
View previous topic :: View next topic  
Author Message
HDMI Seller



Joined: 25 Jan 2012
Posts: 12

PostPosted: Tue Mar 20, 2012 1:54 pm    Post subject: Express Mail and International mail Rubber stamps Reply with quote

Hello,

Thanks to the forum, we have already found the solution how to print Thermal labels for First class envelopes (http://www.interapptive.com/support/viewtopic.php?t=9231).
Now the problem is with international labels.
The SKU and Quantity are not displayed on the label. All the parameters in rubber stamps are correct. And there is notice that “Express Mail and International labels do not display rubber stamps”.
Is there any solution to reconfigure printing rules like it was done with First Class Envelopes to make SW3 print Rubber stamps on international labels. Because with growing amount of international orders it is becoming difficult to add notes to each label.
Or maybe we should use different provider?

Tech specs:
SW3 ver. 3.1.20.3236
USPS (Endicia)

Thanks.
Back to top
View user's profile
Brian
ShipWorks Staff


Joined: 30 Jul 2004
Posts: 3608

PostPosted: Tue Mar 20, 2012 2:52 pm    Post subject: Reply with quote

The alternative providers do not support it either. If you're using standard label images for printing it is possible to use HTML to overlay data on to the label.

That goes beyond what we usually help with - do you have anyone that's good with HTML?

The idea is to use an absolute positioned <div> within the <TemplatePartition> tag that represents the label. Then you can overlay it exactly where you want the text to be using CSS positioning.

Such as:
<div style="position: absolute; top=2in; left=2in;">
SKU HERE
</div>

Brian
Back to top
View user's profile
HDMI Seller



Joined: 25 Jan 2012
Posts: 12

PostPosted: Wed Mar 21, 2012 6:30 am    Post subject: Reply with quote

I have some experience with HTML and CSS so I’ll try to do it myself.
Which label template should I try to modify. We are completely satisfied with international labels that are printed on thermal labels.
Should I create another template and printing rule like it was done for first class envelopes or it is possible to modify existing template?
Thanks.
Back to top
View user's profile
HDMI Seller



Joined: 25 Jan 2012
Posts: 12

PostPosted: Wed Mar 21, 2012 7:12 am    Post subject: Reply with quote

I have tried to make some modifications to the code of Standard label outside of SW3 and I managed to add the example you gave above in to the code in desired position. Can you please specify what tag and how it is spelled should be used instead of “SKU HERE”
Quote:
Such as:
<div style="position: absolute; top=2in; left=2in;">
SKU HERE
</div>

And the question about what template should be used, replaced or added is still open.

Thanks.
Back to top
View user's profile
Brett Berger
Site Admin


Joined: 11 Jun 2010
Posts: 2447

PostPosted: Wed Mar 21, 2012 6:02 pm    Post subject: Reply with quote

You need to add it to the Labels\Standard (or the copy of it you make) and it needs to go inside the head tag. Adjust the x,y position and test to see where it falls.

To output SKU use a for each XSL loop through items. You can find similar code in the invoice template. Take a look at the example code in this post, ignore the barcode instructions/stuff there.

http://www.interapptive.com/support/viewtopic.php?t=10063
_________________
Brett Berger
Interapptive ShipWorks Support
Back to top
View user's profile
HDMI Seller



Joined: 25 Jan 2012
Posts: 12

PostPosted: Wed Apr 04, 2012 6:33 am    Post subject: Reply with quote

Ok, I've found how to modify template and add Item SKU and Quantity using tag <div> :

<xsl:value-of select="SKU" />
<xsl:value-of select="Quantity" />

and what about order number?
Same parameters as for SKU and Quantity don't work.

This code doesn't work:

<xsl:call-template name="OrderNumber">
<xsl:with-param name="order" select="$order" />
</xsl:call-template>

What parameter can I use to make it print order number?
Back to top
View user's profile
Wes
Site Admin


Joined: 07 Oct 2002
Posts: 7427

PostPosted: Thu Apr 05, 2012 6:52 pm    Post subject: Reply with quote

The code would depend on where in the template you are trying to output the order number. If you are within a for-each loop at the Item level, it would be <xsl:value-of select="../Number" /> As you work through editing your templates, it may be helpful to view the XML Source template in the Template Manager to see all of the data points that are accessible via XSL.
_________________
Wes
ShipWorks
Back to top
View user's profile Visit poster's website
HDMI Seller



Joined: 25 Jan 2012
Posts: 12

PostPosted: Fri Apr 06, 2012 6:32 am    Post subject: Reply with quote

Thanks for information, I'll check related topic.
Back to top
View user's profile
HDMI Seller



Joined: 25 Jan 2012
Posts: 12

PostPosted: Thu Apr 26, 2012 1:16 pm    Post subject: Reply with quote

Ok, I’ve managed to get also order number on the First class labels using <div> tags using the related topics:
http://www.interapptive.com/support/viewtopic.php?t=9231
http://www.interapptive.com/support/viewtopic.php?t=10063

After that, as described at the beginning of the topic, I’ve tried to do the same for International Labels. And it didn’t work the same.
Steps that were done:
1. A copy of Standard template was created and it was named “International Custom”
2. Part of the code for SKU, Quantity and Order number was added as shown. The same is done for First Class mail and it works well.


3. Parameters in Settings-->General are:
Template type = "Label"
Output format = "Html"
Output encoding = (Unicode (UTF-Cool
Process for each = Shippment

Settings-->Labels:
same custom label as described http://www.interapptive.com/support/viewtopic.php?t=9231

Settings-->Printing: ZDesigner LP 2844 (Label printer)

4. then new rule was created in "Shipping Settings-->USPS (Indicia)-->Printing.



5. Parameters for "international" filter are:



6. International order was created and all the necessary parameters were inserted for customs.



7. When I Process the order I get usual label without any additional fields. The position of <div> was modified many times trying to place it anywhere.
And from the speed of processing and printing it seems that standard thermal label is used and the rule for printing international order with modified label doesn't work or is bypassed. When printing Modified first class label it takes longer to process and print the modified label

When printing rule for First class labels is removed the same thing happens, so they don't interfere with each other.

Where can there be a problem or wrong parameter?
Back to top
View user's profile
HDMI Seller



Joined: 25 Jan 2012
Posts: 12

PostPosted: Tue May 01, 2012 6:47 am    Post subject: Reply with quote

Dear support,
Any updates or comments?
Back to top
View user's profile
Brian
ShipWorks Staff


Joined: 30 Jul 2004
Posts: 3608

PostPosted: Tue May 01, 2012 12:39 pm    Post subject: Reply with quote

If you select an order that's been processed and manual choose to print with your custom template from the main order grid, is the custom information output correctly?

I wonder if the rule is working, but the template is not. The custom <div> positioning sometimes does not play well with our "Label" templates. The label templates end up using a lot of custom <div> stuff under the covers to achieve the label layout. You may end up needing to switch to a Standard template, and mimicking the label layout using divs.

Brian
Back to top
View user's profile
HDMI Seller



Joined: 25 Jan 2012
Posts: 12

PostPosted: Thu May 03, 2012 6:14 am    Post subject: Reply with quote

It looks, that template doesn't work. I've tried to print existing international label with my template as you advised and it gave me just an empty label.

This custom international label was created from a "Standard" label just as it is described in topic "Configuring USPS Envelope to print to Thermal" ( http://www.interapptive.com/support/viewtopic.php?t=9231)

Is there any difference which template from Endicia is applied to a standard template?
Back to top
View user's profile
Brian
ShipWorks Staff


Joined: 30 Jul 2004
Posts: 3608

PostPosted: Fri May 04, 2012 5:07 am    Post subject: Reply with quote

As long as your downloading labels meant for Standard printers, the label should print on any of the label templates. Typically a blank would indicate a thermal label was downloaded.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic     Forum Index » ShipWorks 3 All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  

Powered by phpBB © 2001, 2002 phpBB Group