A vendor's best friend. Create USPS shipping labels in seconds instead of hours.
This app requires very light Javascript to run. It’s a must unfortunately. If you download the app you can avoid having to turn javascript off on your main browser. The app is just a nativefier browser app with some privacy oriented settings
TLDR; no, we don’t collect any information. Each session is available only to you. Once you leave the page, or refresh it, your download will disappear. It is never stored on our servers, either. Click the button below to see the privacy code.
Give it a couple seconds after hitting submit, make edits in the fields provided, or do nothing at all, then scroll to the bottom to download. The file is ready to be uploaded to bitcoinpostage.info, which you can do below.
Use a thermal printer. Saves lots of time.
Use a thermal printer. Saves lots of time.
$filename = DELIVERY_LABEL_GENERATOR_PLUGIN_DIR . '/assets/output-file.csv';
// clean out other output buffers
//$fp = fopen( $filename, 'w' );
ob_start();
$fp = fopen( 'php://output', 'w' ) or show_error("Can't open php://output");
//Creates the header row. Uses tab as a seperator
$header_row = array_keys( $final_data[0] );
fputcsv( $fp, $header_row, "," );
//Maps the data row with the columns headers.
foreach( $final_data as $row ) {
fputcsv($fp, $row,",");
}
//fclose($fp); To see how data is handled, pay attention what happens to '$csvStr;'
fclose($fp) or show_error("Can't close php://output");
$csvStr = ob_get_contents();
ob_end_clean();
//Generates url to access the final file.
$output_file_url = DELIVERY_LABEL_GENERATOR_PLUGIN_URL . '/assets/output-file.csv';
/*$output_file = "
" .
__( 'Download the output file by clicking here', 'nt-delivery-label-generator') .
"
";*/
$output_file = $csvStr;
$data = array(
'data' => __( 'Thank you for sending us your feedback', 'nt-delivery-label-generator' ),
'output_file' => $output_file
);
wp_send_json_success( $data, 200 );
exit();