X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   UPS Shipping Labels using Dymo Printer (https://forum.x-cart.com/showthread.php?t=23316)

legendarytimes 07-16-2006 09:17 AM

UPS Shipping Labels using Dymo Printer
 
Hello,

I have spent quite a bit of time trying to figure this out, but so far no luck.

Does anyone print to a Dymo printer? If so, how did you set it up so that when you click on "Labels For Selected" from the Order Admin area, you get the label to be generated for the correct size label?

It seems that I am always getting my labels generated for a large size page so that for each label I print, it is coming out spread out over about 6-8 labels.

I have already gone in and edited the code on the order_label_print.tpl but while that did change some things, it did not seem to correct the overall issue.

I will paste the code I have in this file below - Thanks for any help you can provide. :?:

Code:


<table border="0" cellpadding="0" cellspacing="0"><tr><td>
<table border="0" style="width:10cm;height:5.9cm;font-size:18px;font-family:Verdana, Arial, Helvetica, sans-serif;line-height:150%;">
  <tr valign="top">
        <td width="22%">To: </td>
        <td>
                {$order.tracking}
                {$customer.firstname}
                {$customer.lastname}
               

                {$customer.s_address}
                {$customer.s_address_2}
               

                {$customer.s_city},
                {$customer.s_state_text}
                {$customer.s_zipcode}
{if $customer.s_country_text|lower neq "united states" and $customer.s_country_text|lower neq "usa" and $customer.s_country_text|lower neq "us"}
               

                {$customer.s_country_text}
{/if}
        </td>
  </tr>
</table>
</td></tr>
<tr><td>
<hr size="1" noshade>
</td></tr>
</table>
















{*
<table border="0" cellpadding="0" cellspacing="0" width="288">
 
  <tr>
    <td>[img]images/spacer.gif[/img]</td>
    <td>[img]images/spacer.gif[/img]</td>
    <td>[img]images/spacer.gif[/img]</td>
    <td>[img]images/spacer.gif[/img]</td>
  </tr>
  <tr>
    <td colspan="3" valign="top"><table width="100%"  border="0">

{ WebsiteCM - Removed
      <tr>
        <td><table width="100%"  border="0">
          <tr valign="top">
            <td width="60">From: </td>
            <td>Legendary Times Books

             
PO Box 6400

      Oceanside, CA 92052, USA </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><hr size="1" noshade></td>
      </tr>
    </table></td>
    <td>[img]images/spacer.gif[/img]</td>
  </tr>
WebsiteCM - Removed }

{ WebsiteCM - Added }
      <tr>
        <td><table width="100%"  border="0">
          <tr valign="top">
            <td width="60"></td>
            <td>

             

      </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><hr size="1" noshade></td>
      </tr>
    </table></td>
    <td>[img]images/spacer.gif[/img]</td>
  </tr>
{ WebsiteCM - Added }

  <tr>
    <td colspan="3" valign="top"><table width="100%"  border="0">
      <tr valign="top">
        <td width="60">To: </td>
        <td>{ $Id: order_label_print.tpl,v 1.4 2004/06/29 06:47:31 svowl Exp $ }
            {$order.tracking}
            {$customer.firstname}
            {$customer.lastname}
           

            {$customer.s_address}
            {$customer.s_address_2}
           

            {$customer.s_city}
      ,
      {$customer.s_state_text}
      {$customer.s_zipcode}
     

      {$customer.s_country_text}
        </td>
      </tr>
    </table></td>
    <td>[img]images/spacer.gif[/img]</td>
  </tr>
</table>
*}


balinor 07-16-2006 03:51 PM

Welcome to X-Cart! Please start by reading the forum rules, and posting your X-Cart version in your signature (Edit profile, enter version, enter help desk password, click the 'Always attach my signature:' box, save):

http://forum.x-cart.com/viewtopic.php?t=6489

Moving this to template editing, as you will need to edit the label template.

legendarytimes 07-16-2006 04:34 PM

thanks for the tip - i have altered my profile and read through the forum rules.

The thing is, i have already edited the template file but when i generate the label, it is still being sized incorrectly.

I have altered my earlier post so as to include my code so that may help all of you see what the problem is.

thanks.

Light Speed 08-01-2006 02:21 AM

I am interested in this too.

Anybody doing this successfully without resorting to cut and paste into the DYMO software? :)

In another thread here it is mentioned that DYMO has an SDK that would allow a developer to make a way to print to the label printer directly from a browser. I am not that smart :)


All times are GMT -8. The time now is 01:49 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.